home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 11
/
Mac Magazin and MacEasy Magazine CD - Issue 11.iso
/
Sharewarebibliothek
/
DFÜ
/
Via anon.penet.fi v1.00 folder
/
Via anon.penet.fi v1.00
/
Via anon.penet.fi (text)
< prev
Wrap
Text File
|
1995-06-04
|
2KB
|
53 lines
-- Setting the parameters
set done to false
-- the password can contain "ask", "none" or your real password.
-- if is is "ask" the script will prompt you to type it.
set myPassword to "ask"
if myPassword is "ask" then
copy (display dialog ("Your Password:" & return & return) ¬
default answer "none" ¬
with icon note) ¬
to myResult
if the button returned of myResult is "Cancel" then
set done to true
else
copy the text returned of myResult to myPassword
end if
end if
-- now the anon.penet.fi address
set serviceAddress to "anon@anon.penet.fi" -- Can be changed
if not done then
tell application "Eudora F1.5.1"
activate
-- Get the receipient address
copy field "To:" of message named "" to recipient
-- Change it to "anon@anon.penet.fi"
set field "To:" of message named "" to serviceAddress
-- Get the message body
copy field "" of message named "" to theMessage
-- add the passworg and receipient at the beginning of message
if myPassword is not "none" then
set field "" of message named "" to ¬
"X-Anon-Password: " & myPassword & return ¬
& "X-Anon-" & recipient & return & return ¬
& theMessage & return
else
set field "" of message named "" to ¬
"X-Anon-" & recipient & return & return ¬
& theMessage & return
end if
-- now remove the Eudora'S signature if it's on
-- it would be ridiculous to put it in an anonymous message
-- As it doesn't seem possible to automaticaly change that setting
-- give a warning if it not set to none
if the signature of message named "" is not none then
display dialog "May I suggest that you remove the Eudora's" ¬
& " signature before you send that message." ¬
buttons {"Oups!!!"} default button "Oups!!!" with icon caution
end if
end tell
end if